package com.atguigu.tms.mock.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;

/**
 * <p>
 * 快递员表
 * </p>
 *
 * @author zhangchen
 * @since 2022-03-20
 */
@Data
public class ExpressCourier implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 职员id
     */
    private Long empId;

    @TableField(exist = false)
    private EmployeeInfo employeeInfo;

    @TableField(exist = false)
    private List<BaseComplex> baseComplexList=new ArrayList<>();

    @TableField(exist = false)
    private List<ExpressTaskCollect> expressTaskCollectList=new ArrayList<>();

    @TableField(exist = false)
    private List<ExpressTaskCollect> expressTaskCommitList=new ArrayList<>();

    @TableField(exist = false)
    private List<ExpressTaskDelivery> expressTaskDeliveryList=new ArrayList<>();

    @TableField(exist = false)
    private Long complexId;

    /**
     * 机构id
     */
    private Long orgId;

    /**
     *  快递类型
     */
    private String expressType;

    /**
     *  快递电话
     */
    private String workingPhone;



    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 删除标记（0:不可用 1:可用）
     */
    private String isDeleted;

}
